// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;

  .el-dialog__header {
    background: #409eff;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-button--primary {
  color: #409eff;
  background-color: #ecf5ff;

  &:hover {
    color: #fff;
    background-color: #409eff;
  }
}

.el-button--danger {
  color: #f56c6c;
  background-color: #fef0f0;

  &:hover {
    color: #fef0f0;
    background-color: #f56c6c;
  }
}

.el-button--warning {
  color: #e6a23c;
  background: #fdf6ec;
  border-color: #f5dab1;
}

.el-button--success {
  color: #67c23a;
  background: #f0f9eb;
  border-color: #c2e7b0;
}

.el-card {
  box-shadow: 2px 2px 2px 2px 0.2;
  margin: 90px 20px 20px 20px
}